
import '../styles/index.less'

import '../components/NProgress/nprogress.less'

import '../styles/global-scorll-bar.less'

import '../utils/filter'

// 字号改用 rem 后，屏蔽原有的 flexible.js 适配方案
// import '@zh/common-utils/utils/flexible'

import permission from './permission'

// import themePluginConfig from '../themes/themePluginConfig'

const install = (Vue) => {
  if (install.installed) {
    return
  }
  // window.umi_plugin_ant_themeVar = themePluginConfig.theme
  Vue.use(permission)
}

export default {
  install
}